import { useFetchGet, useFetchPost } from '~/composables/useHttp/useFetch'

/**
 * qq登录
 */
export const qqloginApi = () => {
    return useFetchGet<string>('qqloginApi', '/auth/qq')
}
/**
 * 退出登录
 */
export const loginOutApi = <T>() => {
    return useFetchPost<R<T>>('loginOutApi', '/auth/loginOut')
}